import request from '@/utils/request'

// 查询基金评估模板类型列表
export function listBfEvaluationType(query) {
  return request({
    url: '/evaluation/bfEvaluationType/list',
    method: 'get',
    params: query
  })
}

export function listBfEvaluationTypes(query) {
  return request({
    url: '/evaluation/bfEvaluationType/listType',
    method: 'get',
    params: query
  })
}

// 查询基金评估模板类型详细
export function getBfEvaluationType(id) {
  return request({
    url: '/evaluation/bfEvaluationType/' + id,
    method: 'get'
  })
}

// 保存基金评估模板类型
export function saveBfEvaluationType(data) {
  return request({
    url: '/evaluation/bfEvaluationType/save',
    method: 'post',
    data: data
  })
}

// 删除基金评估模板类型
export function delBfEvaluationType(id) {
  return request({
    url: '/evaluation/bfEvaluationType/' + id,
    method: 'delete'
  })
}

// 导出基金评估模板类型
export function exportBfEvaluationType(query) {
  return request({
    url: '/evaluation/bfEvaluationType/export',
    method: 'get',
    params: query
  })
}
